//
//  OrdercontTableViewCell.m
//  DistributorAB
//
//  Created by 主事丫环 on 2019/5/22.
//  Copyright © 2019 主事丫环. All rights reserved.
//

#import "OrdercontTableViewCell.h"

@implementation OrdercontTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)refashwithmodel:(ProsModel *)model{
    
    

    
    
    [self.myimage sd_setImageWithURL:[NSURL URLWithString:model.product_pic] placeholderImage:defaultImg];
    
    self.priceLb.text = [NSString stringWithFormat:@"¥%@",model.product_price];
    self.numberLB.text = [NSString stringWithFormat:@"X%@",model.pro_count];
    self.titlLb.text = [NSString stringWithFormat:@"%@",model.product_name];
    
}
@end
